<script>
import axios from "axios";
import querystring from "querystring";
// import {get,post,getKj,postKj} from '../js/HttpUtil.js';
export default {
  data() {
    return {
      user: {
        userId: '',
        title: '',
        id: ''
      }
    }
  },
  methods: {},
  created() {//声明周期

    // gethttp()
    // posthttp()
    get()
    post()
    getKj()
    postKj()

  }
}
</script>
<template>
  网路请求
  <p>id={{ user.id }},userId={{ user.userId }}</p>
</template>
<style scoped>
img {
  width: 100%;
  height: 300px;
}
</style>